package com.zmj.sy.mom.srv.aps.bean.vo.apsorderwork;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class ApsWorkOrderTreeResVo {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("PID为NULL的是顶层节点")
    private Integer pid;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("物料编码")
    private String materCode;

    @ApiModelProperty("工单编号")
    private String workOrderCode;

    @ApiModelProperty("物料类别：数据字典materType")
    private String materType;

    @ApiModelProperty("1.包 2bom")
    private Integer treeType;

    @ApiModelProperty("计划完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("订单数量")
    private Integer orderQty;

}
